export const DeviceModel = {
  appId: {
    type: "string",
    required: true,
    description: "应用id"
  },
  deviceName: {
    type: "string",
    required: true,
    description: "设备名称"
  },
  deviceProtocol: {
    type: "string",
    required: true,
    description: "设备访问协议",
    enum: ["http", "https"]
  },
  deviceIp: {
    type: "string",
    required: true,
    description: "设备域名"
  },
  devicePort: {
    type: "string",
    required: true,
    description: "设备端口"
  },
  deviceAccount: {
    type: "string",
    required: true,
    description: "设备账号"
  },
  devicePassword: {
    type: "string",
    required: true,
    description: "设备密码"
  },
  hls: {
    type: "string",
    enum: ["1", "0"],
    description: "是否支持hls 1-是 0-否"
  },
  mp4: {
    type: "string",
    enum: ["1", "0"],
    description: "是否开启Mp4录制 1-是 0-否"
  },
  timeout: {
    type: "number",
    description: "拉流超时时间，单位秒"
  },
  rtpType: {
    type: "string",
    description: "拉流方式"
  }
};
